package com.yuw.abstractdemo;

public abstract class Person {
	//属性
	private String perName;
	private int perAge;
	//行为
	//思索行为
	//抽象方法
	public abstract void doThinking() ;
	
	/**
	 * 饮食行为
	 */
	public void doEating() {
		System.out.println(perName+" is eating...");
	}

	public String getPerName() {
		return perName;
	}

	public void setPerName(String perName) {
		this.perName = perName;
	}

	public int getPerAge() {
		return perAge;
	}

	public void setPerAge(int perAge) {
		this.perAge = perAge;
	}
	
	
		
	
	

}
